#ifndef MAIN_H
#define MAIN_H

#include <stdio.h>
#include "control.h"
#include "engine.h"
#include "error.h"
#include "file.h"
#include "menu.h"
#include "menu2.h"
#include "FatalError.h"
#include "keyboard.h"
#include "render.h"
#include "timer.h"
#include "vc.h"
#include "vga.h"

extern char* strbuf;
extern unsigned char* speech;

extern int Exist(char* fname);
extern int PathExists(const char* path);

extern void MiscSetup();
extern void MiscShutdown();

extern void PutOwnerText();
extern void InitMonsterStats();
extern void StartNewGame(char *startp);
extern void LoadGame(char *fn);
extern void ProcessEquipDat();
extern void InitItems();
extern void StartupMenu();

#endif
